home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / System / BootManager / install < prev    next >
Encoding:
Text File  |  2001-01-02  |  1.9 KB  |  54 lines

  1. ; BootManager Installer Script
  2.  
  3. (message "\n\n\n\n\nNote that All things that are done by this script can be canceled simply by launching the unInstall script !")
  4. (message "BootManager command will be copied to your C drawer.")
  5. (copyfiles
  6.         (help "this part just copy the BootManager command in C:")
  7.         (source "c/BootManager")
  8.         (dest "C:")
  9. )
  10.  
  11. (set Prefs_Target
  12.             ( askdir
  13.                     (prompt "Where do you want to copy the prefs program ?")
  14.                     (help "it will copy BMPrefs into the directory you'll choose")
  15.                     (default "Sys:Prefs")
  16.                     (newpath)
  17.             )
  18. )
  19.  
  20. (copyfiles
  21.         (prompt "Copy Prefs program to " Prefs_Target)
  22.         (Source "prefs/BMPrefs")
  23.         (help "This prefs program is the only way to set BootManager configuration")
  24.         (dest Prefs_Target)
  25.         (infos)
  26.         (confirm 1)
  27. )
  28.  
  29. (set Guide_Target
  30.             ( askdir
  31.                     (prompt "where do you want to copy the Guide file ?")
  32.                     (help "the Guide file explain how works BootManager")
  33.                     (default "Help:")
  34.                     (newpath)
  35.             )
  36. )
  37.  
  38. (copyfiles
  39.         (prompt "copy BootManager.guide file to %s" Guide_Target)
  40.         (source "BootManager.guide")
  41.         (dest Guide_Target)
  42.         (infos)
  43.         
  44. )
  45. ( run "copy clone S:startup-sequence S:startup-sequence.bak NOREQ QUIET" )
  46. ( run "StartupModifier"
  47.       (prompt "All files has been copied. To finish the installation, the following line MUST be added to the TOP of your startup-sequence:\n\n C:BootManager\nIf $rd EQ 1\nEndCli\nEndIf\n\nDo you want this install script to make this changes ?\n(Note that a copy of your startup-sequence will be kept)")
  48.       (help "If you awser yes, your startup-sequence will be modified safely... it's the best choice...")
  49.       (confirm 1)
  50. )
  51.  
  52. (set @default-dest (cat "C: ," Prefs_Target " and " Guide_Target))
  53.  
  54.